// ==UserScript==
// @namespace qiuc12-chrome-adapt
// @name QvodPlayer assist
// @description QvodPlayer assist with ActiveX. Make it able seek and set volume for QvodPlayer.
// ==/UserScript==


function executeScriptInClient(command) {
    var codediv = document.createElement("button");
    codediv.setAttribute("style", "display:hidden");
    codediv.setAttribute("onclick", command);
    document.body.appendChild(codediv);
    codediv.click();
    document.body.removeChild(codediv);
}

if (!(QvodPlayer === undefined)) executeScriptInClient("if (OnloadFun) OnloadFun()");